package com.kede.dictenum;

import com.kede.annotation.DictEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/***
 ** @Author:Pr.li
 ** @Description:
 ** @Date: create in 2023/5/10 17:52
 ***/
@Getter
@AllArgsConstructor
public enum LogisDictEnum implements DictEnum {
    FINISH(1,"已完成"),ING(2,"运输中"),START(3,"待发货"),GETED(4,"已到站");

    Integer value;
    String label;

    @Override
    public String getLabelStr() {
        return label;
    }

    @Override
    public String getValueStr() {
        return value.toString();
    }

    @Override
    public String getName() {
        return "logis_status";
    }

    @Override
    public String getDes() {
        return "物流订单状态";
    }
}
